<?php
namespace application\Controllers;

use HakugyokuSoulMVC\base\Controller;
use application\Models\HelloWorldModel;

include(APP_PATH."HakugyokuSoulMVC/base/Controller.php");
include(APP_PATH."application/Models/HelloWorldModel.php");

class HelloworldController extends Controller{
	public function show(){
		$this->assign("title","Powered by HakugyokuSoulStudio.");
		$this->assign("text","HakugyokuSoulMVC: Hello world");
		
		$array = new HelloWorldModel();
		$array = $array->show();
		
		$this->assign("Controller",__CLASS__);
		$this->assign("urlParam",$this->urlParam);
		$this->assign("Action",$this->action);
		$this->assign("ModelSql",$array);
		
		$this->rander();
	}
}